﻿
@{
    ViewData["Title"] = "Peity";
}

<!-- [ Main Content ] start -->
<div class="pcoded-main-container">
    <div class="pcoded-wrapper">
        <div class="pcoded-content">
            <div class="pcoded-inner-content">
                <!-- [ breadcrumb ] start -->
                <div class="page-header">
                    <div class="page-block">
                        <div class="row align-items-center">
                            <div class="col-md-12">
                                <div class="page-header-title">
                                    <h5 class="m-b-10">Peity Chart</h5>
                                </div>
                                <ul class="breadcrumb">
                                    <li class="breadcrumb-item"><a href="/Dashboard/@Pages.Dashboard.Value"><i class="feather icon-home"></i></a></li>
                                    <li class="breadcrumb-item"><a href="#!">Chart</a></li>
                                    <li class="breadcrumb-item"><a href="#!">Peity Chart</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- [ breadcrumb ] end -->
                <div class="main-body">
                    <div class="page-wrapper">
                        <!-- [ Main Content ] start -->
                        <div class="row">
                            <div class="col-sm-12">
                                <div class="alert alert-primary" role="alert">
                                    <p>Use our extra helper file for quick setup Charts in your page - <a href="/Chart/@Pages.ChartPackage.Value" target="_blank" class="alert-link">CHECKOUT</a></p>
                                    <label class="text-muted">Copy/paste source code in your page in just couples of seconds.</label>
                                </div>
                            </div>
                            <!-- [ peity-chart ] start -->
                            <div class="col-xl-4 col-md-6">
                                <div class="card">
                                    <div class="card-header">
                                        <h5>Updating Chart1</h5>
                                    </div>
                                    <div class="card-block">
                                        <span class="updating-chart peity-chart">5,3,6,4,2,10,2,3,9,1,2,8</span>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xl-4 col-md-6">
                                <div class="card">
                                    <div class="card-header">
                                        <h5>Updating Chart2</h5>
                                    </div>
                                    <div class="card-block">
                                        <span class="updating-chart1 peity-chart">5,3,9,6,5,9,7,3,5,2</span>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xl-4 col-md-6">
                                <div class="card">
                                    <div class="card-header">
                                        <h5>Line Chart 1</h5>
                                    </div>
                                    <div class="card-block">
                                        <span class="updating-chart2 peity-chart">5,3,2,-1,-3,-2,2,3,5,2</span>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xl-4 col-md-6">
                                <div class="card">
                                    <div class="card-header">
                                        <h5>Line Chart 2</h5>
                                    </div>
                                    <div class="card-block">
                                        <span class="updating-chart3 peity-chart">0,-3,-6,-4,-5,-4,-7,-3,-5,-2</span>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xl-4 col-md-6">
                                <div class="card">
                                    <div class="card-header">
                                        <h5>Bar Chart 1</h5>
                                    </div>
                                    <div class="card-block">
                                        <span class="bar-colours-1 peity-chart">0,3,6,4,7,3,5,2,2</span>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xl-4 col-md-6">
                                <div class="card">
                                    <div class="card-header">
                                        <h5>Bar Chart 2</h5>
                                    </div>
                                    <div class="card-block">
                                        <span class="bar-colours-2 peity-chart">0,-3,-6,-4,5,-4,-5,-2,2</span>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xl-4 col-md-6">
                                <div class="card">
                                    <div class="card-header">
                                        <h5>Custom Chart 1</h5>
                                    </div>
                                    <div class="card-block">
                                        <div class="data-attributes">
                                            <span data-peity='{ "fill": ["#4fc3f7", "#eeeeee"],"innerRadius": 10, "radius": 40 }'>1/7</span>
                                            <span data-peity='{ "fill": ["#f0466b", "#eeeeee"],"innerRadius": 14, "radius": 36 }'>2/7</span>
                                            <span data-peity='{ "fill": ["#33db9e", "#eeeeee"],"innerRadius": 16, "radius": 32 }'>3/7</span>
                                            <span data-peity='{ "fill": ["#ff8a65", "#eeeeee"],"innerRadius": 18, "radius": 28 }'>4/7</span>
                                            <span data-peity='{ "fill": ["#69CEC6", "#eeeeee"],"innerRadius": 20, "radius": 24 }'>5/7</span>
                                            <span data-peity='{ "fill": ["#FE8A7D", "#eeeeee"],"innerRadius": 18, "radius": 20 }'>6/7</span>
                                            <span data-peity='{ "fill": ["#536dfe", "#eeeeee"],"innerRadius": 15, "radius": 16 }'>7/7</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-xl-4 col-md-6">
                                <div class="card">
                                    <div class="card-header">
                                        <h5>Custom Chart 2</h5>
                                    </div>
                                    <div class="card-block">
                                        <span class="pie_1">1/5</span>
                                        <span class="pie_2">226/360</span>
                                        <span class="pie_3">0.52/1.561</span>
                                        <span class="pie_4">1,4</span>
                                        <span class="pie_5">226,134</span>
                                        <span class="pie_6">0.52,1.041</span>
                                        <span class="pie_7">1,2,3,2,2</span>
                                    </div>
                                </div>
                            </div>
                            <!-- [ peity-chart ] end -->
                        </div>
                        <!-- [ Main Content ] end -->
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- [ Main Content ] end -->

@section Styles{

}

@section Scripts{
    <!-- peity chart js -->
    <script src="~/assets/plugins/chart-peity/js/jquery.peity.min.js"></script>
    <script src="~/assets/js/pages/chart-peity-custom.js"></script>
}

